﻿<Window x:Class="WpfTestApplication.TreeViewTestWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="TreeViewTestWindow" Height="300" Width="300">
    <Grid>
        <TreeView Margin="12,12,0,50" Name="treeView1" HorizontalAlignment="Left" Width="120">
            <TreeViewItem Header="Item 1" IsSelected="True">
                <TreeViewItem Header="Item 1.1" />
            </TreeViewItem>
            <TreeViewItem Header="Item 2">
                <TreeViewItem Header="Item 2.1" />
                <TreeViewItem Header="Item 2.2" />
            </TreeViewItem>
            <TreeViewItem Header="Item 3" IsEnabled="False">
                <TreeViewItem Header="Item 3.1" />
            </TreeViewItem>
        </TreeView>
        <TreeView Margin="138,12,20,50" Name="treeView2" IsEnabled="False">
            <TreeViewItem Header="Item 1">
                <TreeViewItem Header="Item 1.1" />
                <TreeViewItem Header="Item 1.2" />
            </TreeViewItem>
            <TreeViewItem Header="Item 2" />
        </TreeView>
    </Grid>
</Window>
